package com.my.study.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "interface.filter")
@Data
public class InterfaceConfig {

    // 开关
    private boolean enable;

    // 拦截的路径
    private String patterns;
}
